package com.backmanage.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class Test {
	@RequestMapping("/test/test")
	public String test(){
		
		return "qqqq";
	}
	@RequestMapping("/test/qqq")
	public String testqqq(){
		
		return "qqq";
	}
	@ResponseBody
	@RequestMapping("/test/array")
	public String testArray(@RequestParam("arr[]") String [] arr){
		for (int i = 0; i < arr.length; i++) {
			System.out.println(arr[i]);
		}
		return "qqq";
	}
}
